/////////////////////////////////////////////////////////////////////////////
// Name:        extpanel.cpp
// Purpose:     
// Author:      Brant Young
// Modified by: 
// Created:     Sat Jun 23 14:55:30 2007
// RCS-ID:      
// Copyright:   (C) Victsoft 2007
// Licence:     GPL 2.0
/////////////////////////////////////////////////////////////////////////////

#include "wx/wx.h"
#include "extpanel.h"


ExtensionPanel::ExtensionPanel( wxWindow* p_parent) : wxPanel(p_parent, ID_EXT_PANEL, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER|wxTAB_TRAVERSAL)
{
	////@begin ExtensionPanel content construction
    p_root_sizer = new wxBoxSizer(wxHORIZONTAL);
    this->SetSizer(p_root_sizer);

    p_extension_sizer = new wxBoxSizer(wxVERTICAL);
    p_root_sizer->Add(p_extension_sizer, 1, wxGROW, 0);

    wxArrayString p_ext_htmllistStrings;
    p_ext_htmllist = new wxSimpleHtmlListBox( this, ID_EXT_HTMLLIST, wxDefaultPosition, wxDefaultSize, p_ext_htmllistStrings, 0);
    p_extension_sizer->Add(p_ext_htmllist, 1, wxGROW, 0);

    p_info_htmlwnd = new wxHtmlWindow( this, ID_INFO_HTMLWND, wxDefaultPosition, wxSize(200, 100), 0);
    p_extension_sizer->Add(p_info_htmlwnd, 0, wxGROW, 0);

    p_button_sizer = new wxBoxSizer(wxVERTICAL);
    p_root_sizer->Add(p_button_sizer, 0, wxGROW|wxALL, 5);

    p_disable_btn = new wxButton( this, ID_DISABLE_BTN, _("&Disable"), wxDefaultPosition, wxDefaultSize, 0 );
    p_button_sizer->Add(p_disable_btn, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP, 10);

    p_uninstall_btn = new wxButton( this, ID_UNINSTALL_BTN, _("&Uninstall"), wxDefaultPosition, wxDefaultSize, 0 );
    p_button_sizer->Add(p_uninstall_btn, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP, 10);

    p_stcline = new wxStaticLine( this, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
    p_button_sizer->Add(p_stcline, 0, wxGROW|wxALL, 10);

    p_prefers_btn = new wxButton( this, ID_PREFERS_BTN, _("P&references"), wxDefaultPosition, wxDefaultSize, 0 );
    p_button_sizer->Add(p_prefers_btn, 0, wxGROW|wxALL, 10);

	////@end ExtensionPanel content construction

}


/*!
 * ExtensionPanel destructor
 */

ExtensionPanel::~ExtensionPanel()
{
////@begin ExtensionPanel destruction
////@end ExtensionPanel destruction
}

